.class public La/a/hz;
.super Ljava/lang/Object;


# instance fields
.field private a:Ljava/util/List;

.field private b:La/a/f;

.field private c:La/a/m;

.field private d:La/a/aa;

.field private e:La/a/cu;

.field private f:Landroid/content/Context;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, La/a/hz;->a:Ljava/util/List;

    iput-object v1, p0, La/a/hz;->b:La/a/f;

    iput-object v1, p0, La/a/hz;->c:La/a/m;

    iput-object v1, p0, La/a/hz;->d:La/a/aa;

    iput-object v1, p0, La/a/hz;->e:La/a/cu;

    iput-object v1, p0, La/a/hz;->f:Landroid/content/Context;

    iput-object p1, p0, La/a/hz;->f:Landroid/content/Context;

    return-void
.end method

.method private a(Landroid/content/Context;)V
    .locals 2

    :try_start_0
    iget-object v0, p0, La/a/hz;->c:La/a/m;

    invoke-static {p1}, Lcom/a/a/a;->a(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, La/a/m;->a(Ljava/lang/String;)La/a/m;

    iget-object v0, p0, La/a/hz;->c:La/a/m;

    invoke-static {p1}, Lcom/a/a/a;->b(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, La/a/m;->e(Ljava/lang/String;)La/a/m;

    sget-object v0, Lcom/a/a/a;->a:Ljava/lang/String;

    if-eqz v0, :cond_0

    sget-object v0, Lcom/a/a/a;->b:Ljava/lang/String;

    if-eqz v0, :cond_0

    iget-object v0, p0, La/a/hz;->c:La/a/m;

    sget-object v1, Lcom/a/a/a;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, La/a/m;->f(Ljava/lang/String;)La/a/m;

    iget-object v0, p0, La/a/hz;->c:La/a/m;

    sget-object v1, Lcom/a/a/a;->b:Ljava/lang/String;

    invoke-virtual {v0, v1}, La/a/m;->g(Ljava/lang/String;)La/a/m;

    :cond_0
    iget-object v0, p0, La/a/hz;->c:La/a/m;

    invoke-static {p1}, La/a/fk;->o(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, La/a/m;->c(Ljava/lang/String;)La/a/m;

    iget-object v0, p0, La/a/hz;->c:La/a/m;

    sget-object v1, La/a/ea;->a:La/a/ea;

    invoke-virtual {v0, v1}, La/a/m;->a(La/a/ea;)La/a/m;

    iget-object v0, p0, La/a/hz;->c:La/a/m;

    const-string v1, "5.2.4"

    invoke-virtual {v0, v1}, La/a/m;->d(Ljava/lang/String;)La/a/m;

    iget-object v0, p0, La/a/hz;->c:La/a/m;

    invoke-static {p1}, La/a/fk;->b(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, La/a/m;->b(Ljava/lang/String;)La/a/m;

    iget-object v0, p0, La/a/hz;->c:La/a/m;

    invoke-static {p1}, La/a/fk;->a(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, La/a/m;->a(I)La/a/m;

    sget v0, Lcom/a/a/a;->c:I

    const/4 v1, 0x1

    if-ne v0, v1, :cond_1

    iget-object v0, p0, La/a/hz;->c:La/a/m;

    sget v1, Lcom/a/a/a;->c:I

    invoke-virtual {v0, v1}, La/a/m;->b(I)La/a/m;

    iget-object v0, p0, La/a/hz;->c:La/a/m;

    const-string v1, "5.2.4.1"

    invoke-virtual {v0, v1}, La/a/m;->d(Ljava/lang/String;)La/a/m;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_1
    :goto_0
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0
.end method

.method private b(Landroid/content/Context;)V
    .locals 5

    :try_start_0
    iget-object v0, p0, La/a/hz;->d:La/a/aa;

    invoke-static {}, La/a/fk;->a()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, La/a/aa;->e(Ljava/lang/String;)La/a/aa;

    iget-object v0, p0, La/a/hz;->d:La/a/aa;

    invoke-static {p1}, La/a/fk;->c(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, La/a/aa;->a(Ljava/lang/String;)La/a/aa;

    iget-object v0, p0, La/a/hz;->d:La/a/aa;

    invoke-static {p1}, La/a/fk;->d(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, La/a/aa;->b(Ljava/lang/String;)La/a/aa;

    iget-object v0, p0, La/a/hz;->d:La/a/aa;

    invoke-static {p1}, La/a/fk;->k(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, La/a/aa;->c(Ljava/lang/String;)La/a/aa;

    iget-object v0, p0, La/a/hz;->d:La/a/aa;

    sget-object v1, Landroid/os/Build;->MODEL:Ljava/lang/String;

    invoke-virtual {v0, v1}, La/a/aa;->d(Ljava/lang/String;)La/a/aa;

    iget-object v0, p0, La/a/hz;->d:La/a/aa;

    const-string v1, "Android"

    invoke-virtual {v0, v1}, La/a/aa;->f(Ljava/lang/String;)La/a/aa;

    iget-object v0, p0, La/a/hz;->d:La/a/aa;

    sget-object v1, Landroid/os/Build$VERSION;->RELEASE:Ljava/lang/String;

    invoke-virtual {v0, v1}, La/a/aa;->g(Ljava/lang/String;)La/a/aa;

    invoke-static {p1}, La/a/fk;->l(Landroid/content/Context;)[I

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v1, p0, La/a/hz;->d:La/a/aa;

    new-instance v2, La/a/dm;

    const/4 v3, 0x1

    aget v3, v0, v3

    const/4 v4, 0x0

    aget v0, v0, v4

    invoke-direct {v2, v3, v0}, La/a/dm;-><init>(II)V

    invoke-virtual {v1, v2}, La/a/aa;->a(La/a/dm;)La/a/aa;

    :cond_0
    sget-object v0, Lcom/a/a/a;->e:Ljava/lang/String;

    if-eqz v0, :cond_1

    sget-object v0, Lcom/a/a/a;->d:Ljava/lang/String;

    if-eqz v0, :cond_1

    :cond_1
    iget-object v0, p0, La/a/hz;->d:La/a/aa;

    sget-object v1, Landroid/os/Build;->BOARD:Ljava/lang/String;

    invoke-virtual {v0, v1}, La/a/aa;->h(Ljava/lang/String;)La/a/aa;

    iget-object v0, p0, La/a/hz;->d:La/a/aa;

    sget-object v1, Landroid/os/Build;->BRAND:Ljava/lang/String;

    invoke-virtual {v0, v1}, La/a/aa;->i(Ljava/lang/String;)La/a/aa;

    iget-object v0, p0, La/a/hz;->d:La/a/aa;

    sget-wide v1, Landroid/os/Build;->TIME:J

    invoke-virtual {v0, v1, v2}, La/a/aa;->a(J)La/a/aa;

    iget-object v0, p0, La/a/hz;->d:La/a/aa;

    sget-object v1, Landroid/os/Build;->MANUFACTURER:Ljava/lang/String;

    invoke-virtual {v0, v1}, La/a/aa;->j(Ljava/lang/String;)La/a/aa;

    iget-object v0, p0, La/a/hz;->d:La/a/aa;

    sget-object v1, Landroid/os/Build;->ID:Ljava/lang/String;

    invoke-virtual {v0, v1}, La/a/aa;->k(Ljava/lang/String;)La/a/aa;

    iget-object v0, p0, La/a/hz;->d:La/a/aa;

    sget-object v1, Landroid/os/Build;->DEVICE:Ljava/lang/String;

    invoke-virtual {v0, v1}, La/a/aa;->l(Ljava/lang/String;)La/a/aa;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0
.end method

.method private c(Landroid/content/Context;)V
    .locals 3

    :try_start_0
    invoke-static {p1}, La/a/fk;->e(Landroid/content/Context;)[Ljava/lang/String;

    move-result-object v0

    const-string v1, "Wi-Fi"

    const/4 v2, 0x0

    aget-object v2, v0, v2

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_3

    iget-object v1, p0, La/a/hz;->e:La/a/cu;

    sget-object v2, La/a/e;->c:La/a/e;

    invoke-virtual {v1, v2}, La/a/cu;->a(La/a/e;)La/a/cu;

    :goto_0
    const-string v1, ""

    const/4 v2, 0x1

    aget-object v2, v0, v2

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_0

    iget-object v1, p0, La/a/hz;->e:La/a/cu;

    const/4 v2, 0x1

    aget-object v0, v0, v2

    invoke-virtual {v1, v0}, La/a/cu;->d(Ljava/lang/String;)La/a/cu;

    :cond_0
    iget-object v0, p0, La/a/hz;->e:La/a/cu;

    invoke-static {p1}, La/a/fk;->m(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, La/a/cu;->c(Ljava/lang/String;)La/a/cu;

    invoke-static {p1}, La/a/fk;->i(Landroid/content/Context;)[Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, La/a/hz;->e:La/a/cu;

    const/4 v2, 0x0

    aget-object v2, v0, v2

    invoke-virtual {v1, v2}, La/a/cu;->b(Ljava/lang/String;)La/a/cu;

    iget-object v1, p0, La/a/hz;->e:La/a/cu;

    const/4 v2, 0x1

    aget-object v0, v0, v2

    invoke-virtual {v1, v0}, La/a/cu;->a(Ljava/lang/String;)La/a/cu;

    iget-object v0, p0, La/a/hz;->e:La/a/cu;

    invoke-static {p1}, La/a/fk;->h(Landroid/content/Context;)I

    move-result v1

    invoke-virtual {v0, v1}, La/a/cu;->a(I)La/a/cu;

    sget v0, Lcom/a/a/a;->g:I

    if-nez v0, :cond_1

    sget-object v0, Lcom/a/a/a;->f:Lcom/a/a/b;

    if-nez v0, :cond_1

    sget-object v0, Lcom/a/a/a;->h:Ljava/lang/String;

    if-nez v0, :cond_1

    sget-object v0, Lcom/a/a/a;->i:Ljava/lang/String;

    if-eqz v0, :cond_2

    :cond_1
    new-instance v0, La/a/ew;

    invoke-direct {v0}, La/a/ew;-><init>()V

    sget v1, Lcom/a/a/a;->g:I

    invoke-virtual {v0, v1}, La/a/ew;->a(I)La/a/ew;

    sget-object v1, Lcom/a/a/a;->f:Lcom/a/a/b;

    invoke-static {v1}, Lcom/a/a/b;->a(Lcom/a/a/b;)La/a/aw;

    move-result-object v1

    invoke-virtual {v0, v1}, La/a/ew;->a(La/a/aw;)La/a/ew;

    sget-object v1, Lcom/a/a/a;->h:Ljava/lang/String;

    invoke-virtual {v0, v1}, La/a/ew;->a(Ljava/lang/String;)La/a/ew;

    sget-object v1, Lcom/a/a/a;->i:Ljava/lang/String;

    invoke-virtual {v0, v1}, La/a/ew;->b(Ljava/lang/String;)La/a/ew;

    iget-object v1, p0, La/a/hz;->e:La/a/cu;

    invoke-virtual {v1, v0}, La/a/cu;->a(La/a/ew;)La/a/cu;

    :cond_2
    :goto_1
    return-void

    :cond_3
    const-string v1, "2G/3G"

    const/4 v2, 0x0

    aget-object v2, v0, v2

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_4

    iget-object v1, p0, La/a/hz;->e:La/a/cu;

    sget-object v2, La/a/e;->b:La/a/e;

    invoke-virtual {v1, v2}, La/a/cu;->a(La/a/e;)La/a/cu;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_1

    :cond_4
    :try_start_1
    iget-object v1, p0, La/a/hz;->e:La/a/cu;

    sget-object v2, La/a/e;->a:La/a/e;

    invoke-virtual {v1, v2}, La/a/cu;->a(La/a/e;)La/a/cu;
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    goto/16 :goto_0
.end method

.method private h()Ljava/lang/String;
    .locals 3

    iget-object v0, p0, La/a/hz;->f:Landroid/content/Context;

    invoke-static {v0}, La/a/ic;->a(Landroid/content/Context;)Landroid/content/SharedPreferences;

    move-result-object v0

    const-string v1, "session_id"

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method


# virtual methods
.method public declared-synchronized a()I
    .locals 2

    monitor-enter p0

    :try_start_0
    iget-object v0, p0, La/a/hz;->a:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    iget-object v1, p0, La/a/hz;->b:La/a/f;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    if-eqz v1, :cond_0

    add-int/lit8 v0, v0, 0x1

    :cond_0
    monitor-exit p0

    return v0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public a(La/a/ep;)V
    .locals 3

    invoke-direct {p0}, La/a/hz;->h()Ljava/lang/String;

    move-result-object v1

    if-nez v1, :cond_0

    :goto_0
    return-void

    :cond_0
    monitor-enter p0

    :try_start_0
    iget-object v0, p0, La/a/hz;->a:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :goto_1
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, La/a/hy;

    invoke-interface {v0, p1, v1}, La/a/hy;->a(La/a/ep;Ljava/lang/String;)V

    goto :goto_1

    :catchall_0
    move-exception v0

    monitor-exit p0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0

    :cond_1
    :try_start_1
    iget-object v0, p0, La/a/hz;->a:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    iget-object v0, p0, La/a/hz;->b:La/a/f;

    if-eqz v0, :cond_2

    iget-object v0, p0, La/a/hz;->b:La/a/f;

    invoke-virtual {p1, v0}, La/a/ep;->a(La/a/f;)La/a/ep;

    const/4 v0, 0x0

    iput-object v0, p0, La/a/hz;->b:La/a/f;

    :cond_2
    monitor-exit p0
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    invoke-virtual {p0}, La/a/hz;->b()La/a/m;

    move-result-object v0

    invoke-virtual {p1, v0}, La/a/ep;->a(La/a/m;)La/a/ep;

    invoke-virtual {p0}, La/a/hz;->c()La/a/aa;

    move-result-object v0

    invoke-virtual {p1, v0}, La/a/ep;->a(La/a/aa;)La/a/ep;

    invoke-virtual {p0}, La/a/hz;->d()La/a/cu;

    move-result-object v0

    invoke-virtual {p1, v0}, La/a/ep;->a(La/a/cu;)La/a/ep;

    invoke-virtual {p0}, La/a/hz;->g()La/a/t;

    move-result-object v0

    invoke-virtual {p1, v0}, La/a/ep;->a(La/a/t;)La/a/ep;

    invoke-virtual {p0}, La/a/hz;->e()La/a/bs;

    move-result-object v0

    invoke-virtual {p1, v0}, La/a/ep;->a(La/a/bs;)La/a/ep;

    invoke-virtual {p0}, La/a/hz;->f()La/a/bl;

    move-result-object v0

    invoke-virtual {p1, v0}, La/a/ep;->a(La/a/bl;)La/a/ep;

    goto :goto_0
.end method

.method public declared-synchronized a(La/a/f;)V
    .locals 1

    monitor-enter p0

    :try_start_0
    iput-object p1, p0, La/a/hz;->b:La/a/f;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit p0

    return-void

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public declared-synchronized a(La/a/hy;)V
    .locals 1

    monitor-enter p0

    :try_start_0
    iget-object v0, p0, La/a/hz;->a:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit p0

    return-void

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public declared-synchronized b()La/a/m;
    .locals 1

    monitor-enter p0

    :try_start_0
    iget-object v0, p0, La/a/hz;->c:La/a/m;

    if-nez v0, :cond_0

    new-instance v0, La/a/m;

    invoke-direct {v0}, La/a/m;-><init>()V

    iput-object v0, p0, La/a/hz;->c:La/a/m;

    iget-object v0, p0, La/a/hz;->f:Landroid/content/Context;

    invoke-direct {p0, v0}, La/a/hz;->a(Landroid/content/Context;)V

    :cond_0
    iget-object v0, p0, La/a/hz;->c:La/a/m;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit p0

    return-object v0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public declared-synchronized c()La/a/aa;
    .locals 1

    monitor-enter p0

    :try_start_0
    iget-object v0, p0, La/a/hz;->d:La/a/aa;

    if-nez v0, :cond_0

    new-instance v0, La/a/aa;

    invoke-direct {v0}, La/a/aa;-><init>()V

    iput-object v0, p0, La/a/hz;->d:La/a/aa;

    iget-object v0, p0, La/a/hz;->f:Landroid/content/Context;

    invoke-direct {p0, v0}, La/a/hz;->b(Landroid/content/Context;)V

    :cond_0
    iget-object v0, p0, La/a/hz;->d:La/a/aa;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit p0

    return-object v0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public declared-synchronized d()La/a/cu;
    .locals 1

    monitor-enter p0

    :try_start_0
    iget-object v0, p0, La/a/hz;->e:La/a/cu;

    if-nez v0, :cond_0

    new-instance v0, La/a/cu;

    invoke-direct {v0}, La/a/cu;-><init>()V

    iput-object v0, p0, La/a/hz;->e:La/a/cu;

    iget-object v0, p0, La/a/hz;->f:Landroid/content/Context;

    invoke-direct {p0, v0}, La/a/hz;->c(Landroid/content/Context;)V

    :cond_0
    iget-object v0, p0, La/a/hz;->e:La/a/cu;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit p0

    return-object v0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public e()La/a/bs;
    .locals 1

    :try_start_0
    iget-object v0, p0, La/a/hz;->f:Landroid/content/Context;

    invoke-static {v0}, La/a/ho;->b(Landroid/content/Context;)La/a/hm;

    move-result-object v0

    invoke-virtual {v0}, La/a/hm;->a()La/a/bs;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v0

    :goto_0
    return-object v0

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    const/4 v0, 0x0

    goto :goto_0
.end method

.method public f()La/a/bl;
    .locals 1

    :try_start_0
    iget-object v0, p0, La/a/hz;->f:Landroid/content/Context;

    invoke-static {v0}, La/a/ho;->a(Landroid/content/Context;)La/a/gx;

    move-result-object v0

    invoke-virtual {v0}, La/a/gx;->b()La/a/bl;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v0

    :goto_0
    return-object v0

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    const/4 v0, 0x0

    goto :goto_0
.end method

.method public g()La/a/t;
    .locals 1

    :try_start_0
    iget-object v0, p0, La/a/hz;->f:Landroid/content/Context;

    invoke-static {v0}, La/a/ie;->a(Landroid/content/Context;)La/a/t;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v0

    :goto_0
    return-object v0

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    new-instance v0, La/a/t;

    invoke-direct {v0}, La/a/t;-><init>()V

    goto :goto_0
.end method
